package com.gszyxy.mallfour.consumer.service;

import com.gszyxy.mallfour.consumer.params.ConsumerRequestParams;
import com.gszyxy.mallfour.consumer.pojo.Consumer;

public interface ConsumerService {
    //注册
    int register(ConsumerRequestParams consumerRequestParams);
    //登录
    Consumer login(ConsumerRequestParams consumerRequestParams);
    //账号是否被注册过
    Consumer findByAccount(String account);

}
